package com.xoa.dev.efficiency.service;

import com.xoa.model.users.Users;
import com.xoa.model.workflow.FlowTypeModel;
import com.xoa.util.ToJson;
import com.xoa.util.common.wrapper.BaseWrappers;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface FlowRunFuService {


    //重点工作确认列表
    public BaseWrappers queryFlowRunZhong(Integer page, Integer pageSize, boolean useFlag, HttpServletResponse response, HttpServletRequest request, Integer runId, String runName, String state, String beginDate, String endDate, String status);

    //重点工作列表
    public BaseWrappers queryFlowRunZhongList(Integer page, Integer pageSize, boolean useFlag, HttpServletResponse response, HttpServletRequest request, Integer runId, String runName, String state, String beginDate, String endDate, String status, String userId);

    //常规工作列表
    public BaseWrappers queryFlowRunChang(Integer page, Integer pageSize, boolean useFlag, HttpServletResponse response, HttpServletRequest request, Integer runId, String runName, String state, String beginDate, String endDate, String userId, String status);

    public BaseWrappers zhongTong(HttpServletRequest request, HttpServletResponse response, Integer page, Integer pageSize, Boolean useFlag, String userIds, String deptIds, String beginDate, String endDate, Integer export);

    BaseWrappers changTong(HttpServletRequest request, HttpServletResponse response, Integer page, Integer pageSize, Boolean useFlag, String userIds, String deptIds, String beginDate, String endDate, Integer export);

    BaseWrappers queryFlowRunZhongList(Integer parentRunId);

    ToJson parentAndSon(Integer flowId, Integer runId);

    // 查询重点流程类型
    ToJson<FlowTypeModel> selectImportantFlowType();
}
